import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'
import HostMenu from '@/components/HostMenu'
import HostRelease from '@/components/HostRelease'
import HostCollection from '@/components/HostCollection'
import HostMy from '@/components/HostMy'
import asd from '@/components/asd'
import dsa from '@/components/dsa'
import DetailPage from '@/components/DetailPage'
import ggg from '@/components/ggg'
import HostHunt from '@/components/HostHunt'
Vue.use(Router)

export default new Router({
  mode: 'history',  //去掉url中的#
  routes: [
    // {
    //   path: '/',
    //   name: 'HelloWorld',
    //   component: HelloWorld
    // },
    {
      path: '/',
      name: 'HostMenu',
      component: HostMenu,
    },
    {
      path: '/HostRelease',
      name: 'HostRelease',
      component: HostRelease,
    },
    {
      path: '/HostCollection',
      name: 'HostCollection',
      component: HostCollection,
    },
    {
      path: '/HostMy',
      name: 'HostMy',
      component: HostMy,
    },
    {
      path: '/asd',
      name: 'asd',
      component: asd,
    },
    {
      path: '/dsa',
      name: 'dsa',
      component: dsa,
    },
    {
      path: '/DetailPage',
      name: 'DetailPage',
      component: DetailPage,
    },
    {
      path: '/ggg',
      name: 'ggg',
      component: ggg,
    },
    {
      path: '/HostHunt',
      name: 'HostHunt',
      component: HostHunt,
    }

  ]
})
